# Contributor:
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=ioping
pkgver=1.3
pkgrel=0
pkgdesc="A simple disk i/o latency measurement tool"
url="https://github.com/koct9i/ioping"
arch="all !s390x"
license="GPL-3.0-or-later"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/koct9i/ioping/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="
52ca9596d0d54a02e58e40b777d31b44a3f10fd45b76d25ab491f7e6d126dfb9c4205c9b427b69bdc2012282ec8c5846db964d420913f4d91fa5101baa99089d  ioping-1.3.tar.gz
"
